ObjectGetRect

 

Get the current square-shaped coordinates value of the object.

 

void @ObjectGetRect(string classname, int x1, int y1, int x2, int y2);

 

Parameters

string classname : Class name of object

int x1 : Variable to receive the coordinate value of x1

int y1 : Variable to receive the coordinate value of y1

int x2 : Variable to receive the coordinate value of x2

int y2 : Variable to receive the coordinate value of y2

 

Return Value

None

 

Example

@ObjectGetRect("Line2", $X1, $Y1, $X2, $Y2);

 

Description : Receive the coordinate value of x1 into $X1, it of y1 into $Y1, it of x2 into $X2, and it of y2 into $Y2;

 

Version Information

Supported Version: 10.3.6.8

 

Related Helps

@ObjectGetClassName()

@ObjectSetBackColor()

@ObjectSetFillColor()

@ObjectSetFillOption()

@ObjectSetFont()

@ObjectSetFontName()

@ObjectSetFontSize()

@ObjectSetFontStyle()

@ObjectSetLineColor()

@ObjectSetLineOption()

@ObjectSetLineThick()

@ObjectSetRect()

@ObjectSetRotationAxis()

@ObjectSetTag()

@ObjectSetText()

@ObjectSetTextColor()

@ObjectSetToolTipText()

@ObjectSetVisible()